if MPU3050
menu "InvenSense Motion Sensors Support"

choice
    prompt "Motion Processing Unit"
    depends on I2C
    default MPU_SENSORS_MPU3050

config MPU_NONE
    bool "None"
    help
      This disables support for motion processing using the MPU family of 
      motion processing units.

config MPU_SENSORS_MPU3050
    tristate "MPU3050"
    depends on I2C
    help
      If you say yes here you get support for the MPU3050 Gyroscope driver
      This driver can also be built as a module.  If so, the module
      will be called mpu3050.

config MPU_SENSORS_MPU6000
    tristate "MPU6000"
    depends on I2C
    help
      If you say yes here you get support for the MPU6000 Gyroscope driver
      This driver can also be built as a module.  If so, the module
      will be called mpu6000.

endchoice

choice
    prompt "Accelerometer Type"
    depends on MPU_SENSORS_MPU3050
    default MPU_SENSORS_MMA845X

config MPU_SENSORS_ACCELEROMETER_NONE
    bool "NONE"
    depends on MPU_SENSORS_MPU3050 || MPU_SENSORS_MPU6000
    help
      This disables accelerometer support for the MPU3050

config MPU_SENSORS_ADXL346
    bool "ADI adxl346"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the ADI adxl346 accelerometer

config MPU_SENSORS_BMA150
    bool "Bosch BMA150"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Bosch BMA150 accelerometer
 
config MPU_SENSORS_BMA222
    bool "Bosch BMA222"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Bosch BMA222 accelerometer
      
config MPU_SENSORS_KXSD9
    bool "Kionix KXSD9"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Kionix KXSD9 accelerometer

config MPU_SENSORS_KXTF9
    bool "Kionix KXTF9"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Kionix KXFT9 accelerometer

config MPU_SENSORS_LIS331DLH
    bool "ST lis331dlh"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the ST lis331dlh accelerometer

config MPU_SENSORS_LIS3DH
    bool "ST lis3dh"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the ST lis3dh accelerometer

config MPU_SENSORS_LSM303DLHA
    bool "ST lsm303dlh"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the ST lsm303dlh accelerometer

config MPU_SENSORS_MMA8450
    bool "Freescale mma8450"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Freescale mma8450 accelerometer

config MPU_SENSORS_MMA845X
    bool "Freescale mma8451/8452/8453"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Freescale mma8451/8452/8453 accelerometer

endchoice

choice
    prompt "Compass Type"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    default MPU_SENSORS_COMPASS_NONE

config MPU_SENSORS_COMPASS_NONE
    bool "NONE"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    help
      This disables compass support for the MPU6000

config MPU_SENSORS_AK8975
    bool "AKM ak8975"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    help
      This enables support for the AKM ak8975 compass

config MPU_SENSORS_MMC314X
    bool "MEMSIC mmc314x"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the MEMSIC mmc314x compass

config MPU_SENSORS_MMC328X
    bool "MEMSIC mmc328x"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the MEMSIC mmc328x compass

config MPU_SENSORS_AMI30X
    bool "Aichi Steel ami30X"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Aichi Steel ami304/ami305 compass

config MPU_SENSORS_AMI306
    bool "Aichi Steel ami306"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Aichi Steel ami306 compass

config MPU_SENSORS_HMC5883
    bool "Honeywell hmc5883"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Honeywell hmc5883 compass

config MPU_SENSORS_LSM303DLHM
    bool "ST lsm303dlh"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the ST lsm303dlh compass

config MPU_SENSORS_MMC314X
    bool "MEMSIC mmc314xMS"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the MEMSIC mmc314xMS compass

config MPU_SENSORS_YAS529
    bool "Yamaha yas529"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Yamaha yas529 compass

config MPU_SENSORS_YAS530
    bool "Yamaha yas530"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Yamaha yas530 compass

config MPU_SENSORS_HSCDTD002B
    bool "Alps hscdtd002b"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Alps hscdtd002b compass

config MPU_SENSORS_HSCDTD004A
    bool "Alps hscdtd004a"
    depends on MPU_SENSORS_MPU3050
    help
      This enables support for the Alps hscdtd004a compass

endchoice

choice
    prompt "Pressure Type"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    default MPU_SENSORS_PRESSURE_NONE

config MPU_SENSORS_PRESSURE_NONE
    bool "NONE"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    help
      This disables pressure sensor support for the MPU6000

config MPU_SENSORS_BMA085
    bool "Bosch BMA085"
    depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
    help
      This enables support for the Bosch bma085 pressure sensor

endchoice

config MPU_SENSORS_TIMERIRQ
    tristate "Timer IRQ"
    help
      If you say yes here you get access to the timerirq device handle which
      can be used to select on.  This can be used instead of IRQ's, sleeping,
      or timer threads.  Reading from this device returns the same type of
      information as reading from the MPU and slave IRQ's.

endmenu
endif # MPU3050
